package cc.cc4414.cc03.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源权限表
 * </p>
 *
 * @author cc
 * @since 2019-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_resource_authority")
public class ResourceAuthority implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 资源id
     */
    private String resourceId;

    /**
     * 权限id
     */
    private String authorityId;


    public static final String ID = "id";

    public static final String RESOURCE_ID = "resource_id";

    public static final String AUTHORITY_ID = "authority_id";

}
